package com.test.spring4;

import org.springframework.beans.factory.FactoryBean;

public class RunableFactoryBean implements FactoryBean<Jeep>{

	public Jeep getObject() throws Exception {
		return new Jeep();
	}

	public Class<?> getObjectType() {
		return Jeep.class;
	}

	/**
	 * 默认是单例
	 */
	public boolean isSingleton() {
		return true;
	}

}
